package
{
	import flash.utils.*;
	
	import org.flixel.*;
	import org.flixel.plugin.photonstorm.*;
	
	import states.*;
	
	[Frame(factoryClass="Preloader")]
	[SWF(width="725",height="600",backgroundColor="#000000")]
	
	/**
	 * ...
	 * @author JAC
	 */
	public class Main extends FlxGame
	{
		public static const VERSION:String = "v1.0";
		
		public function Main():void
		{
			super(725, 600, MenuState, 1, 30, 30);
			
			forceDebugger = true;
			init();
		}
		
		private static function init():void
		{
			if (FlxG.getPlugin(FlxMouseControl) == null)
			{
				FlxG.addPlugin(new FlxMouseControl);
			}
			
			Registry.init();
			MenuState.init();
			OptionState.init();
			Tracker.init();
			Animation.init();
			ScoreState.init();
			SelectState.init();
		}
	}
}